package com.sloth.bear.dto.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.sloth.bear.dto.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = true)
@TableName("doc_item")
public class DocItem extends BaseEntity {

    private Long documentId;
    
    private String name;
    
    private String content;
    
    private Integer sortNo;
    
    /**
     * 星级评分（1-5星，0表示未评分）
     */
    private Integer starRating;
    
    /**
     * 是否已完成
     */
    private Boolean completed;

    /**
     * 是否置顶
     */
    private Boolean isTop;
}